/*
 * Powered By  huangzl QQ: 272950754
 * Web Site: http://www.hehenian.com
 * Since 2008 - 2018
 */

package com.mingsoft.cms.entity;

import org.apache.ibatis.type.Alias;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * @author  huangzl QQ: 272950754
 * @version 1.0
 * @since 1.0
 */


public class InsurancePropertyEntity  implements java.io.Serializable{	
	
	//columns START
	/**
	 * 自增长ID
	 */
	private java.lang.Integer ipId;
	/**
	 * 保险ID
	 */
	private java.lang.Integer insId;
	/**
	 * 属性值ID
	 */
	private java.lang.Integer bpvId;
	/**
	 * 属性ID
	 */
	private java.lang.Integer bpId;
	//columns END
	public java.lang.Integer getIpId() {
		return this.ipId;
	}
	
	public void setIpId(java.lang.Integer value) {
		this.ipId = value;
	}
	public java.lang.Integer getInsId() {
		return this.insId;
	}
	
	public void setInsId(java.lang.Integer value) {
		this.insId = value;
	}
	public java.lang.Integer getBpvId() {
		return this.bpvId;
	}
	
	public void setBpvId(java.lang.Integer value) {
		this.bpvId = value;
	}
	public java.lang.Integer getBpId() {
		return this.bpId;
	}
	
	public void setBpId(java.lang.Integer value) {
		this.bpId = value;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
			.append("IpId",getIpId())
			.append("InsId",getInsId())
			.append("BpvId",getBpvId())
			.append("BpId",getBpId())
			.toString();
	}
	
	public int hashCode() {
		return new HashCodeBuilder()
			.append(getIpId())
			.toHashCode();
	}
	
	public boolean equals(Object obj) {
		if(obj instanceof InsurancePropertyEntity == false) return false;
		if(this == obj) return true;
		InsurancePropertyEntity other = (InsurancePropertyEntity)obj;
		return new EqualsBuilder()
			.append(getIpId(),other.getIpId())
			.isEquals();
	}
}

